package com.techzhi.jvm.deadlock;

public class ThreadA extends LockObj implements Runnable{
    @Override
    public void run() {
        synchronized (LockObj.obj1){
            System.out.println("ThreadA get obj1");
            synchronized (LockObj.obj2){
                System.out.println("ThreadA get obj2");
            }

        }
    }
}
